package com.baitiaojun.auth.service.impl;

import com.baitiaojun.api.domain.auth.AuthRoleMenu;
import com.baitiaojun.auth.mapper.AuthRoleMenuMapper;
import com.baitiaojun.auth.service.AuthRoleMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

/**
 * @类名 AuthRoleMenuServiceImpl
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/7 21:48
 * @版本 1.0
 */
@Service
public class AuthRoleMenuServiceImpl implements AuthRoleMenuService {

    @Resource
    private AuthRoleMenuMapper authRoleMenuMapper;

    @Override
    public List<AuthRoleMenu> getAuthRoleMenus(Long roleId) {
        return authRoleMenuMapper.selectAuthRoleMenusByRoleIds(roleId);
    }
}
